package de.tudarmstadt.fgbs.cafe.importexport;

import de.tudarmstadt.fgbs.cafe.structure.Fahrplan;

/**
 * Interface class for exporter subsystems
 * 
 * @author Christian Schlehuber
 * @version 0.2
 * @since 0.1
 * 
 */
public interface ExportInterface {

    /**
     * Method for exporting a Fahrplan
     * 
     * @param fplID
     *            int which determines the Fahrplan
     * @param name
     *            String which contains the filename (incl. the extension)
     * @param location
     *            String containing the absolute path to the export directory
     * @return boolean, which is true, if the export was successful
     */
    public boolean exportFPL(int fplID, String name, String location);

    /**
     * Method for exporting a Fahrplan
     * 
     * @param fpl
     *            which contains the Fahrplan
     * @param name
     *            String which contains the filename (incl. the extension)
     * @param absolutePath
     *            String containing the absolute path to the export directory
     * @return boolean, which is true, if the export was successful
     * @see Fahrplan
     */
    public boolean exportFPL(Fahrplan fpl, String name, String absolutePath);

}
